package cn.edu.uestc.software.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.sql.Timestamp;

public class Department {
    private Integer id;
    private String departmentName;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp departCreateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public Timestamp getDepartCreateTime() {
        return departCreateTime;
    }

    public void setDepartCreateTime(Timestamp departCreateTime) {
        this.departCreateTime = departCreateTime;
    }
}
